<?php

namespace App\Models\School;

use Illuminate\Database\Eloquent\Model;

class Teacher extends Model
{
    protected $table = 'jxt_school_teacher';

    protected $primaryKey = 'teacher_id';

    public function classes()
    {
        return $this->belongsTo(Classes::class,'class_id');
    }

}
